<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<!-- meta -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!-- css -->
<link href="style.css" media="all" rel="stylesheet" type="text/css" />
<!-- js -->
<script src="" type="text/javascript"></script>
<!-- title -->
<title>NEMS</title>
</head>
<body>
<!-- <script type="text/javascript"> -->
<%-- 	if("<%=request.getParameter("sex")%>" == 0){ --%>
<!-- 		document.write("JavaScriptを使って出力しています。0"); -->
<%-- 		<%=request.getParameter("sex")%> = "男性"; --%>
<%-- 		document.write("<%=request.getParameter("sex")%>"); --%>
<!-- 	} -->
<!-- 	else{ -->
<!-- 		document.write("JavaScriptを使って出力しています。1"); -->
<!-- 		document.regist_input.sex.value = "女性"; -->
<!-- 	} -->
<!-- </script> -->
<h1>NEMS 【NJK Employee Management System】</h1>
<a href="/NEMS/Menu">メニューへ戻る</a><div align="right"><a href="/NEMS/Login">ログアウト</a></div>
<h2>社員情報更新　確認</h2>
<form method="post" name="regist_completion" action="/NEMS/UpdateCompletion">
<table border="1">
<tr>
<th>社員番号※</th>
<td><input type="text" readonly name="employee_no" size="40" maxlength="5" value=<%=request.getParameter("employee_no")%>></td>
</tr>
<tr>
<th>名前（姓・名）※</th>
<td>姓<input type="text" readonly name="first_name" size="15" maxlength="32" value=<%=request.getParameter("first_name")%>>　　　
名<input type="text" readonly name="last_name" size="15" maxlength="32" value=<%=request.getParameter("last_name")%>></td>
</tr>
<tr>
<th>性別※</th>
<td>
<input type="text" readonly name="sex" size="40" maxlength="2" value=<% if ("1".equals(request.getParameter("sex"))) { %>男性<% } %><% if ("2".equals(request.getParameter("sex"))) { %>女性<% } %>>
</td>
</tr>
<tr>
<th>入社年月日※</th>
<td><input type="text" readonly name="join_date" size="40" maxlength="8" value=<%=request.getParameter("join_date")%>></td>
</tr>
<tr>
<th>部門※</th>
<td><input type="text" readonly name="section" size="40" maxlength="3" value=<%=request.getParameter("section")%>>
</td>
</tr>
<tr>
<th>メールアドレス</th>
<td><input type="text" readonly name="mail" size="40" maxlength="256" value=<%=request.getParameter("mail")%>></td>
</tr>
</table>
<input type="submit" name="back" value="戻る" onClick="history.back(); return false;">　<input type="submit" name="update_completion" value="更新">
</form>
</body>
</html>